Images can be saved from ImagXpress® to a bitmap or DIB as follows:
- Call the ImageX.ToBitmap method to save to a bitmap.
- Call the ImageX.ToHbitmap method to save to a bitmap handle.
- Call the ImageX.ToHdib method to transfer ownership of a DIB handle.
When calling these methods, you must specify whether the ImageX object retains ownership of the image or releases it.
- If the release parameter is set to True, the image is deleted from the ImageX object. The ImageX object remains, but is empty.
- If the release parameter is set to False, then the ImageX object continues to contain the image. A copy of the image is made and returned by the methods above.
See Also